#ifndef _linklist_h
#define _linklist_h

typedef struct tDataNode {
    char   *cmd;
    char   *desc;
    int    (*handler)();
    struct tDataNode *next;
} DataNode;

DataNode* FindCmd(DataNode *head, const char *cmd);
void ShowAllCmd(DataNode *head);

#endif
